package gz.metro.datasync.entity.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * @author chenwx
 * @description 数据同步日志表单
 * @createTime 2019-11-25 10:14
 */
@ApiModel(value = "SyncLogForm",description = "数据同步日志表单")
public class SyncLogForm  implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 日志主键
     */
    @ApiModelProperty("日志主键")
    private int logId;

    /**
     * 同步类型（user,org等）
     */
    @ApiModelProperty("同步类型（user,org等）")
    private String syncType;

    /**
     * 同步开始时间
     */
    @ApiModelProperty("同步开始时间")
    private Date beginTime;

    /**
     * 同步结束时间
     */
    @ApiModelProperty("同步结束时间")
    private Date endTime;

    /**
     * 是否同步成功：0-失败；1-成功
     */
    @ApiModelProperty("是否同步成功：0-失败；1-成功")
    private int isSuccess;

    /**
     * 日志主键
     */
    @ApiModelProperty("日志主键")
    private int syncCount;

    /**
     * 同步异常日志
     */
    @ApiModelProperty("同步异常日志")
    private String error;

    public int getLogId() {
        return logId;
    }

    public void setLogId(int logId) {
        this.logId = logId;
    }

    public String getSyncType() {
        return syncType;
    }

    public void setSyncType(String syncType) {
        this.syncType = syncType;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public int getIsSuccess() {
        return isSuccess;
    }

    public void setIsSuccess(int isSuccess) {
        this.isSuccess = isSuccess;
    }

    public int getSyncCount() {
        return syncCount;
    }

    public void setSyncCount(int syncCount) {
        this.syncCount = syncCount;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }
}
